package g4p.tests;

import processing.core.PApplet;
import processing.core.*;
import processing.opengl.*;

public class RendererTest extends PApplet {

	public void setup(){
		size(200,300, OPENGL);
		 
		System.out.println("2D " + g.is2D() +"   3D " + g.is3D() +"   GL " + g.isGL());
		
		println(g.getClass().getSimpleName() + " is an instance of");
		
		if(g instanceof PGraphics == true) println("\tPGrahics");
		if(g instanceof PGraphicsJava2D == true) println("\tPGrahicsJava2D");
		if(g instanceof PGraphics2D == true) println("\tPGrahics2D");
		if(g instanceof PGraphics3D == true) println("\tPGrahics3D");
		if(g instanceof PGraphicsOpenGL == true) println("\tPGrahicsOpenGL");
		
		println();
		g.printMatrix();
		
		println();
		
		
		
	}
}
